package com.nari.ysphd.util;

import java.io.Closeable;
import java.io.IOException;

/**
 * Created by zhatong on 2019/1/15.
 */

public class IOUtil   {
      public static void safeClose(Closeable closeable){
          if (closeable!=null){
              try {
                  closeable.close();
              } catch (IOException e) {
                  e.printStackTrace();
              }
          }
      }
}
